﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace v1_SweetGeeks.Model
{
    public class Product
    {
        public int id;
        public string name;
        public decimal licens;
        public decimal abbPrice;
        public decimal clickRate;
        public string googleAnalyticsViewId;
        public int websiteVisitors;

        public Product(Product produkt)
        {
            this.id = produkt.id;
            this.name = produkt.name;
            this.licens = produkt.licens;
            this.abbPrice = produkt.abbPrice;
            this.clickRate = produkt.clickRate;
            this.googleAnalyticsViewId = "";
            this.websiteVisitors = 0;
        }

        public Product(int id, string name, decimal licens, decimal abbPrice, decimal clickRate)
        {
            this.id = id;
            this.name = name;
            this.licens = licens;
            this.abbPrice = abbPrice;
            this.clickRate = clickRate;
            this.googleAnalyticsViewId = "";
            this.websiteVisitors = 0;
        }
    }
}
